package com.woniu.micropropertyserver.feign.service;

import com.woniu.microcommonsserver.param.ResponseMsg;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author ：zhengbin
 * @date ：
 * @description：
 * @modified By：
 * @version: $
 */
@FeignClient(name ="micro-user-server")
public interface MicroUserServerFeign {

@GetMapping(value = "/user/searchone",produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseMsg searchOnebyLoginName(String LoginName);

@GetMapping(value = "/user/searchOneByUid",produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseMsg searchOnebyUid(Integer uid);

    @RequestMapping("/org/getpros")
    public ResponseMsg findPros();

}
